ucPatPortalAccount.ascx.cs
Code Type: C# Codebehind Class for ASP .NET User Control
Uses Classes: List<string>, CSec, CDataUtils, DataSet


Lines of Code: 191

public void InitializeControl()

	 initialize web user control; loads patient's account details if an account exists 

protected void ResetPassword(object sender, ext.DirectEventArgs e)

	 prepares the account's form to perform a password reset 

protected void UpdatePortalAccount(object sender, ext.DirectEventArgs e)

	 submits account's form for updating in the central data base 

protected bool ValidateAccountForm(out string strValidationComment) 

	 validates the account's form before submiting for update 

protected bool PatientAccountExists()

	 checks if the patient portal account exists 

protected void LoadPatientAccount() 

	 loads the patient's account details 

protected bool CreatePatientAccount() 

	 creates a patient account record in the central database 

protected bool UpdateAccountPassword() 

	 updates portal account password 

protected string TransformErrorMessage(List<string> lstErrors)

    	Transforms the error list (List<string>) into an HTML UL string
    	to be displayed in the System Feedbacks window

protected long getPatientFXUserID()

	 gets the user id for the selected patient 

	

